package com.yunfeisoft.business.model;

import com.applet.base.ServiceModel;
import com.yunfeisoft.enumeration.YesNoEnum;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * ClassName: OmsOrderReturnReason
 * Description: 退货原因表
 *
 * @Author: Jackie liu
 * Date: 2020-06-02
 */
@Entity
@Table(name = "OMS_ORDER_RETURN_REASON")
public class OmsOrderReturnReason extends ServiceModel implements Serializable {

    /**
     * Field serialVersionUID: 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 退货类型
     */
    @Column
    private String name;

    /**
     * 排序
     */
    @Column
    private Integer sort;

    /**
     * 状态：0->不启用；1->启用
     */
    @Column
    private Integer status;

    public String getStatusStr() {
        return YesNoEnum.valueOfValidateLabel(status);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


}